/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kotionokyurievna.gmail.com.callablethreads.logic;
/**
 *
 * @author Kateryna_Reznik
 */
public class SimpleCalculator implements Calculator, SinCosCalculator{

    @Override
    public double add(double a, double b) {
        return a + b;
    }

    @Override
    public double sub(double a, double b) {
        return a-b;
    }

    @Override
    public double mult(double a, double b) {
        return a * b;
    }

    @Override
    public double div(double a, double b) {
        return a / b;
    }

    @Override
    public double sin(double a) {
        return Math.sin(a);
    }

    @Override
    public double cos(double a) {
        return Math.cos(a);
    }
    
}
